翻訳と辞書
Words near each other
・ Handkerchief
・ Handkerchief code
・ Handkerchief of Clouds
・ Handkerchief skirt
・ Handkerchief tree
・ Handknattleiksfélag Kópavogs
・ Handkäse
・ Handl
・ Handlan's Park
・ Handlana
・ Handle
・ Handle (computing)
・ Handle (disambiguation)
・ Handle decomposition
・ Handle decompositions of 3-manifolds
Handle leak
・ Handle magazine
・ Handle Me
・ Handle Me with Care
・ Handle System
・ Handle the Jandal
・ Handle This
・ Handle Ur Bizness EP
・ Handle with Care
・ Handle with Care (1932 film)
・ Handle with Care (1935 film)
・ Handle with Care (1958 film)
・ Handle with Care (1977 film)
・ Handle with Care (1985 film)
・ Handle with Care (album)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Handle leak : ウィキペディア英語版
Handle leak

A handle leak is a type of software bug that occurs when a computer program asks for a handle to a resource but does not free the handle when it is no longer used. If this occurs frequently or repeatedly over an extended period of time, a large number of handles may be marked in-use and thus unavailable, causing performance problems or a crash.
The term is derived from memory leak. Handle leaks, like memory leaks, are specific instances of resource leaks.
==Causes==
One cause of a handle leak is when a programmer mistakenly believes that retrieving a handle to an entity is simply obtaining an unmanaged reference, without understanding that a count, a copy, or other operation is actually being performed. Another occurs because of poor exception handling design patterns when programmers do not consider that when an exception occurs and a sub routine is exited prematurely, the cleanup code at the end of the routine may not be executed.
An example of this might be retrieving a handle to the display device. Programmers might use this handle to check some property (e.g. querying the supported resolutions), and then simply proceed on without ever releasing the handle. If the handle was just a pointer to some data structure with no additional management, then allowing the handle to pass out of scope would not cause an issue. However, in many cases, such handles must be explicitly closed or released to avoid leaking resources associated with them; the exact requirements for what must be done with a handle varies by interface.


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Handle leak」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.